﻿namespace Hourglass.Qrobot.Models
{
    public sealed class ReplyMessage
    {
        /// <summary>
        /// 返回消息目标
        /// </summary>
        public ReplyTarget Target { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }
    }

    public sealed class ReplyTarget
    {
        /// <summary>
        /// QQ号/群号或讨论组名称
        /// </summary>
        public string NumberOrName { get; set; }

        public ReplyTargetType TargetType { get; set; } = ReplyTargetType.Default;
    }

    public enum ReplyTargetType
    {
        /// <summary>
        /// 默认，接受的什么消息就返回什么消息
        /// </summary>
        Default,
        Personal,
        Group,
        Disscuss
    }
}
